package com.woniuxy.carrental.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 采购表
 * @author xilei
 * @create 2021-09-27 下午 7:53
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Purchase {
    private String purchase_id;
    private Date purchase_date;
    private String car_name;
    private String carpart_name;
    private String supplier_name;
    private Integer car_count;
    private Integer part_count;
    private Integer part_allsprice;
    private Integer car_allsprice;
    private boolean wareingstatus;
    private Car car;
    private Carpart carpart;
    private Supplier supplier;
    private Supply_car supply_car;
    private Supply_part supply_part;


    public boolean isWareingstatus() {
        return wareingstatus;
    }

    public void setWareingstatus(boolean wareingstatus) {
        this.wareingstatus = wareingstatus;
    }

    public String getPurchase_id() {
        return purchase_id;
    }

    public void setPurchase_id(String purchase_id) {
        this.purchase_id = purchase_id;
    }

    public Date getPurchase_date() {
        return purchase_date;
    }

    public void setPurchase_date(Date purchase_date) {
        this.purchase_date = purchase_date;
    }

    public String getCar_name() {
        return car_name;
    }

    public void setCar_name(String car_name) {
        this.car_name = car_name;
    }

    public String getCarpart_name() {
        return carpart_name;
    }

    public void setCarpart_name(String carpart_name) {
        this.carpart_name = carpart_name;
    }

    public String getSupplier_name() {
            return supplier_name;
    }

    public void setSupplier_name(String supplier_name) {
        this.supplier_name = supplier_name;
    }

    public Integer getCar_count() {
        return car_count;
    }

    public void setCar_count(Integer car_count) {
        this.car_count = car_count;
    }

    public Integer getPart_count() {
        return part_count;
    }

    public void setPart_count(Integer part_count) {
        this.part_count = part_count;
    }

    public Integer getPart_allsprice() {
        return part_allsprice;
    }

    public void setPart_allsprice(Integer part_allsprice) {
        this.part_allsprice = part_allsprice;
    }

    public Integer getCar_allsprice() {
        return car_allsprice;
    }

    public void setCar_allsprice(Integer car_allsprice) {
        this.car_allsprice = car_allsprice;
    }

    public Car getCar() {
        return car;
    }

    public void setCar(Car car) {
        this.car = car;
    }

    public Carpart getCarpart() {
        return carpart;
    }

    public void setCarpart(Carpart carpart) {
        this.carpart = carpart;
    }

    public Supplier getSupplier() {
        return supplier;
    }

    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }

    public Supply_car getSupply_car() {
        return supply_car;
    }

    public void setSupply_car(Supply_car supply_car) {
        this.supply_car = supply_car;
    }

    public Supply_part getSupply_part() {
        return supply_part;
    }

    public void setSupply_part(Supply_part supply_part) {
        this.supply_part = supply_part;
    }
}
